package cn.com.dcsgo.mybatis.mapper;

import cn.com.dcsgo.mybatis.po.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Dcsgo
 * @since 2024/8/23 10:53
 */

public interface UserMapper {
    void saveUser(User user);

    void deleteUser(Long id);

    void updateUser(User user);

    User queryUserById(@Param("id") Long id);

    List<User> queryUserByIds(@Param("ids") List<Long> ids);
}
